package cn.lili.modules.payment.client;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.constant.ServiceConstant;
import cn.lili.modules.payment.entity.dos.*;
import cn.lili.modules.payment.entity.dto.*;
import cn.lili.modules.payment.entity.vo.OutOrderLogVO;
import cn.lili.modules.payment.fallback.PaymentDataFallback;
import cn.lili.modules.payment.fallback.PaymentFallback;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 物流配置客户端
 *
 * @author Chopper
 * @version v1.0
 * 2021-11-08 09:52
 */
@FeignClient(path = "${server.servlet.context-path}", name = ServiceConstant.PAYMENT_SERVICE, contextId = "paymentData", fallback = PaymentDataFallback.class)
public interface PaymentDataClient {


    @GetMapping("/feign/getPaymentDataBySn")
    PaymentData getPaymentDataBySn(@RequestParam String orderNo);
}
